package com.ruoyi.canteen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店对象 canteen_md
 * 
 * @author zhangw
 * @date 2021-09-08
 */
public class CanteenMd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 门店id */
    private Long mdId;

    private Long deptId;

    /** 门店名称 */
    @Excel(name = "门店名称")
    private String mdName;

    /** 门店图片 */
    @Excel(name = "门店图片")
    private String mdPic;

    /** 上级id */
    @Excel(name = "上级id")
    private Long upId;

    /** 开放标示 0 开放 1 不开放 */
    @Excel(name = "开放标示 0 开放 1 不开放")
    private Long openFlag;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 通知公告 */
    @Excel(name = "通知公告")
    private String notice;

    // 菜品必选是否开启：0不开启1-开启
    private Integer cpRequired;

    // 经营范围(1-患者；2-职工；用逗号隔开)
    private String businessScope;

    public String getBusinessScope() {
        return businessScope;
    }

    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope;
    }

    public Integer getCpRequired() {
        return cpRequired;
    }

    public void setCpRequired(Integer cpRequired) {
        this.cpRequired = cpRequired;
    }



    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setMdId(Long mdId) 
    {
        this.mdId = mdId;
    }

    public Long getMdId() 
    {
        return mdId;
    }
    public void setMdName(String mdName) 
    {
        this.mdName = mdName;
    }

    public String getMdName() 
    {
        return mdName;
    }
    public void setMdPic(String mdPic) 
    {
        this.mdPic = mdPic;
    }

    public String getMdPic() 
    {
        return mdPic;
    }
    public void setUpId(Long upId) 
    {
        this.upId = upId;
    }

    public Long getUpId() 
    {
        return upId;
    }
    public void setOpenFlag(Long openFlag) 
    {
        this.openFlag = openFlag;
    }

    public Long getOpenFlag() 
    {
        return openFlag;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setNotice(String notice) 
    {
        this.notice = notice;
    }

    public String getNotice() 
    {
        return notice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mdId", getMdId())
            .append("mdName", getMdName())
            .append("mdPic", getMdPic())
            .append("upId", getUpId())
            .append("openFlag", getOpenFlag())
            .append("remark", getRemark())
            .append("phone", getPhone())
            .append("notice", getNotice())
            .toString();
    }
}
